home *** CD-ROM | disk | FTP | other *** search
-
-
-
- SSSShhhheeeellllllll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSShhhheeeellllllll((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _S_h_e_l_l - The Shell widget class
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
- #include <X11/Shell.h>
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Shell is a top-level widget (with only one managed child)
- that encapsulates the interaction with the window manager.
-
- At the time the shell's child is managed, the child's width
- is used for both widgets if the shell is unrealized and no
- width has been specified for the shell. Otherwise, the
- shell's width is used for both widgets. The same relations
- hold for the height of the shell and its child.
-
- CCCCllllaaaasssssssseeeessss
- Shell inherits behavior and resources from _C_o_m_p_o_s_i_t_e and
- _C_o_r_e.
-
- The class pointer is _s_h_e_l_l_W_i_d_g_e_t_C_l_a_s_s.
-
- The class name is _S_h_e_l_l.
-
- NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
- The following table defines a set of widget resources used
- by the programmer to specify data. The programmer can also
- set the resource values for the inherited classes to set
- attributes for this widget. To reference a resource by name
- or by class in a .Xdefaults file, remove the _X_m_N or _X_m_C
- prefix and use the remaining letters. To specify one of the
- defined values for a resource in a .Xdefaults file, remove
- the _X_m prefix and use the remaining letters (in either
- lowercase or uppercase, but include any underscores between
- words). The codes in the access column indicate if the
- given resource can be set at creation time (C), set by using
- _X_t_S_e_t_V_a_l_u_e_s (S), retrieved by using _X_t_G_e_t_V_a_l_u_e_s (G), or is
- not applicable (N/A).
-
- SSSShhhheeeellllllll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ____________________________________________________________________________________________________
- XmNallowShellResize XmCAllowShellResize Boolean False CG
- XmNcreatePopupChildProc XmCCreatePopupChildProc XtCreatePopupChildProc NULL CSG
- XmNgeometry XmCGeometry String NULL CSG
- XmNoverrideRedirect XmCOverrideRedirect Boolean False CSG
- XmNpopdownCallback XmCCallback XtCallbackList NULL C
- XmNpopupCallback XmCCallback XtCallbackList NULL C
- XmNsaveUnder XmCSaveUnder Boolean False CSG
-
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- SSSShhhheeeellllllll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSShhhheeeellllllll((((3333XXXX))))
-
-
-
- XmNvisual XmCVisual Visual * CopyFromParent CSG
-
-
- _X_m_N_a_l_l_o_w_S_h_e_l_l_R_e_s_i_z_e
- Specifies that if this resource is False, the Shell
- widget instance returns _X_t_G_e_o_m_e_t_r_y_N_o to all geometry
- requests from its children.
-
- _X_m_N_c_r_e_a_t_e_P_o_p_u_p_C_h_i_l_d_P_r_o_c
- Specifies the pointer to a function that is called when
- the Shell widget instance is popped up by _X_t_P_o_p_u_p. The
- function creates the child widget when the shell is
- popped up instead of when the application starts up.
- This can be used if the child needs to be reconfigured
- each time the shell is popped up. The function takes
- one argument, the popup shell, and returns no result.
- It is called after the popup callbacks specified by
- _X_m_N_p_o_p_u_p_C_a_l_l_b_a_c_k.
-
- _X_m_N_g_e_o_m_e_t_r_y
- Specifies the desired geometry for the widget instance.
- This resource is examined only when the widget instance
- is unrealized and the number of its managed children is
- changed. It is to change the values of the _X_m_N_x, _X_m_N_y,
- _X_m_N_w_i_d_t_h, and _X_m_N_h_e_i_g_h_t resources.
-
- _X_m_N_o_v_e_r_r_i_d_e_R_e_d_i_r_e_c_t
- Specifies this is True if the widget instance is a
- temporary window which should be ignored by the window
- manager. Applications and users should not normally
- alter this resource.
-
- _X_m_N_p_o_p_d_o_w_n_C_a_l_l_b_a_c_k
- Specifies a list of callbacks that is called when the
- widget instance is popped down by _X_t_P_o_p_d_o_w_n.
-
- _X_m_N_p_o_p_u_p_C_a_l_l_b_a_c_k
- Specifies a list of callbacks that is called when the
- widget instance is popped up by _X_t_P_o_p_u_p.
-
- _X_m_N_s_a_v_e_U_n_d_e_r
- Specifies a True value if it is desirable to save the
- contents of the screen beneath this widget instance,
- avoiding expose events when the instance is unmapped.
- This is a hint, and an implementation may save contents
- whenever it desires, including always or never.
-
- _X_m_N_v_i_s_u_a_l
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-
-
-
- SSSShhhheeeellllllll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV SSSShhhheeeellllllll((((3333XXXX))))
-
-
-
- Specifies the visual used in creating the widget.
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
- Shell inherits behavior and resources from the following
- superclass. For a complete description of each resource,
- refer to the man page for that superclass.
-
- CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ______________________________________________________________________
- XmNchildren XmCReadOnly WidgetList NULL G
- XmNinsertPosition XmCInsertPosition XtOrderProc NULL CSG
- XmNnumChildren XmCReadOnly Cardinal 0 G
-
-
- CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ______________________________________________________________________________________________________________
- XmNaccelerators XmCAccelerators XtAccelerators dynamic CSG
- XmNancestorSensitive XmCSensitive Boolean dynamic G
- XmNbackground XmCBackground Pixel dynamic CSG
- XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG
- XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderWidth XmCBorderWidth Dimension 1 CSG
- XmNcolormap XmCColormap Colormap dynamic CG
- XmNdepth XmCDepth int dynamic CG
- XmNdestroyCallback XmCCallback XtCallbackList NULL C
- XmNheight XmCHeight Dimension dynamic CSG
- XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C
- XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG
- XmNscreen XmCScreen Screen * dynamic CG
- XmNsensitive XmCSensitive Boolean True CSG
- XmNtranslations XmCTranslations XtTranslations dynamic CSG
- XmNwidth XmCWidth Dimension dynamic CSG
- XmNx XmCPosition Position 0 CSG
- XmNy XmCPosition Position 0 CSG
-
-
- TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
- There are no translations for Shell.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _C_o_m_p_o_s_i_t_e(_3_X) and _C_o_r_e(_3_X).
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 11/11/03)
-
-
-
-